package cn.findviewbydream.evil.app.controller

import cn.findviewbydream.evil.app.dto.CompleteMealBean
import cn.findviewbydream.evil.app.service.OtherService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

/********************************************
 * 工程名：MealOrder
 * 包名：cn.findviewbydream.evil.app.controller
 * 时间：17-1-26
 * 作者：白雨濃 evil
 * 邮箱：evilbai@foxmail.com
 * 内容：
 ********************************************/
@RestController
class OtherController(@Autowired val otherService: OtherService)
{
    @RequestMapping("/app/get/complete/list")
    fun getCompleteMealList(): List<CompleteMealBean>? = otherService.getCompleteMealList()
}